package com.youi.service.impl;

import com.youi.dao.MarketThemeGoodsDao;
import com.youi.entity.MarketThemeGoods;
import com.youi.service.MarketThemeGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MarketThemeGoodsServiceImpl extends BaseServiceImpl<MarketThemeGoods> implements MarketThemeGoodsService {

    private MarketThemeGoodsDao marketThemeGoodsDao;

    @Autowired
    public void setfaultRecordDao(MarketThemeGoodsDao marketThemeGoodsDao){
        this.marketThemeGoodsDao=marketThemeGoodsDao;
        super.setBaseDAO(marketThemeGoodsDao);
    }

    @Override
    public void updateDelStatusByThemeId(Integer delStatus, Long themeId) {
        marketThemeGoodsDao.updateDelStatusByThemeId(delStatus,themeId);
    }
}
